#include <iostream>
#include <fstream>
#include <sstream>
using std::cout;
using std::endl;
using std::string;
using std::ifstream;
using std::istringstream;
void readconfig(const string &filename){
    ifstream ifs(filename);
    if(!ifs.good()){
        cout<<"error"<<endl;
        return ;
    }
    string line;
    string key,value;
    while(getline(ifs,line)){
        istringstream iss(line);
        iss>>key>>value;
        cout<<key<<"    "<<value<<endl;
    }

}
class Test{
public:
    static Test & getInstance(){
      
    
    }
    Test(const Test &rhs)=delete;
    Test & operator=(const Test &rhs)=delete;
private:
    Test(){}
};


int main(int argc, char * argv[]){
    readconfig("1.txt");   
    return 0;
}

